<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'studList.jsp' starting page</title>
  </head>
  
  <body>
    	<table border="1" width="100%">
    		<tr>
    			<th>编号</th>
    			<th>姓名</th>
    			<th>年龄</th>
    			<th>性别</th>
    			<th>年级</th>
    			<th>生日</th>
    		</tr>
    		
    		<s:iterator value="list" var="st">
    		<tr>
    			<td>${st.stid}</td>    		
    			<td>${st.stName}</td>    		
    			<td>${st.age}</td>    		
    			<td>${st.gender}</td>    		
    			<td>${st.grade.gname}</td>    		
    			<td>${st.birthday}</td>    		
    		</tr>
    		</s:iterator>
    	</table>
  </body>
</html>
